<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BCube</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BCube">
			<h1>BCube</h1>
			<p>继承自<a href="BGeometry.html">BGeometry</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BCube()">BCube</a>();</td></tr>
				<tr><td align="right"></td><td><a href="#BCube(BReal,int)">BCube</a>(BReal size, int segments = 3);</td></tr>
				<tr><td align="right"></td><td><a href="#BCube(BReal, BReal, BReal,int,int,int)">BCube</a>(BReal length, BReal width, BReal height, int lengthSegments = 3, int widthSegments = 3, int heightSegments = 3);</td></tr>
				<tr><td align="right"></td><td><a href="#~BCube()">~BCube</a>();</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#copy(const BShape*)">copy</a>(const BShape* other);</td></tr>
				<tr><td align="right">virtual BShape* </td><td><a href="#clone()">clone</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setLength(BReal)">setLength</a>(BReal length);</td></tr>
				<tr><td align="right">BReal </td><td><a href="#length()">length</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setWidth(BReal)">setWidth</a>(BReal width);</td></tr>
				<tr><td align="right">BReal </td><td><a href="#width()">width</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setHeight(BReal)">setHeight</a>(BReal height);</td></tr>
				<tr><td align="right">BReal </td><td><a href="#height()">height</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setLengthSegments(int)">setLengthSegments</a>(int lengthSegments);</td></tr>
				<tr><td align="right">int </td><td><a href="#lengthSegments()">lengthSegments</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setWidthSegments(int)">setWidthSegments</a>(int widthSegments);</td></tr>
				<tr><td align="right">int </td><td><a href="#widthSegments()">widthSegments</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setHeightSegments(int)">setHeightSegments</a>(int heightSegments);</td></tr>
				<tr><td align="right">int </td><td><a href="#heightSegments()">heightSegments</a>() const;</td></tr>
				<tr><td align="right">virtual BVector </td><td><a href="#inertia(BReal)">inertia</a>(BReal mass) const;</td></tr>
				<tr><td align="right">virtual BVector </td><td><a href="#vertex(const BVector&)">vertex</a>(const BVector& direct) const;</td></tr>
			</table>
			<h2>protected</h2>
			<table id="protected">
				<tr><td align="right">virtual void </td><td><a href="#refresh(BBox&)">refresh</a>(BBox& box);</td></tr>
				<tr><td align="right">virtual void </td><td><a href="#render(BRender&)">render</a>(BRender& render);</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BCube()">
				<h3>BCube();</h3>
			</div>
			<div id="BCube(BReal,int)">
				<h3>BCube(BReal size, int segments = 3);</h3>
			</div>
			<div id="BCube(BReal, BReal, BReal,int,int,int)">
				<h3>BCube(BReal length, BReal width, BReal height, int lengthSegments = 3, int widthSegments = 3, int heightSegments = 3);</h3>
			</div>
			<div id="~BCube()">
				<h3>~BCube();</h3>
			</div>
			<div id="copy(const BShape*)">
				<h3>virtual void copy(const BShape* other);</h3>
			</div>
			<div id="clone()">
				<h3>virtual BShape* clone() const;</h3>
			</div>
			<div id="setLength(BReal)">
				<h3>void setLength(BReal length);</h3>
			</div>
			<div id="length()">
				<h3>BReal length() const;</h3>
			</div>
			<div id="setWidth(BReal)">
				<h3>void setWidth(BReal width);</h3>
			</div>
			<div id="width()">
				<h3>BReal width() const;</h3>
			</div>
			<div id="setHeight(BReal)">
				<h3>void setHeight(BReal height);</h3>
			</div>
			<div id="height()">
				<h3>BReal height() const;</h3>
			</div>
			<div id="setLengthSegments(int)">
				<h3>void setLengthSegments(int lengthSegments);</h3>
			</div>
			<div id="lengthSegments()">
				<h3>int lengthSegments() const;</h3>
			</div>
			<div id="setWidthSegments(int)">
				<h3>void setWidthSegments(int widthSegments);</h3>
			</div>
			<div id="widthSegments()">
				<h3>int widthSegments() const;</h3>
			</div>
			<div id="setHeightSegments(int)">
				<h3>void setHeightSegments(int heightSegments);</h3>
			</div>
			<div id="heightSegments()">
				<h3>int heightSegments() const;</h3>
			</div>
			<div id="inertia(BReal)">
				<h3>virtual BVector inertia(BReal mass) const;</h3>
			</div>
			<div id="vertex(const BVector&)">
				<h3>virtual BVector vertex(const BVector&amp; direct) const;</h3>
			</div>
			<div id="refresh(BBox&)">
				<h3>virtual void refresh(BBox&amp; box);</h3>
			</div>
			<div id="render(BRender&)">
				<h3>virtual void render(BRender&amp; render);</h3>
			</div>
		</div>
	</body>
</html>